package com.jcoinexchange.market.common.vo;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

//@ApiModel
@Data
public class KLineListReq {

    @NotNull(message = "交易币种ID不能为空")
    @Min(value = 1, message = "交易币种ID不能为空")
    private Long tradeCoinId;

    @NotNull(message = "计价币种ID不能为空")
    @Min(value = 1, message = "计价币种ID不能为空")
    private Long coinId;

     @NotBlank(message = "时间类型不能为空")
    private String timeStr;

    private Long time;

}
